package com.example.dddsample.infrastructure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.dddsample.domain.vo.CustomerQueryBaseVO;
import com.example.dddsample.infrastructure.persistence.po.CustomerPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: bebm
 * @date: 2022/3/29 13:52
 * @description:
 */
@Mapper
public interface CustomerMapper extends BaseMapper<CustomerPo> {

    IPage<CustomerPo> getAll(IPage page,@Param("data") CustomerQueryBaseVO customerQueryBaseVO);


}

